Morpheus 1.0.0
Dynamic matrix type and algorithms for sparse matrices
Loading...
Searching...
No Matches
Public Types | List of all members
Morpheus::BinaryContainer< ContainerType1, ContainerType2 > Struct Template Reference

A wrapper that constructs a new container type that holds two container types. More...

#include <Morpheus_ContainerFactory.hpp>

Public Types

using type1 = ContainerType1
 
using type2 = ContainerType2
 

Detailed Description

template<typename ContainerType1, typename ContainerType2>
struct Morpheus::BinaryContainer< ContainerType1, ContainerType2 >

A wrapper that constructs a new container type that holds two container types.

Overview
The purpose of this container is to place under the same type two containers
  • possibly different.
Template Parameters
ContainerType1The first container type.
ContainerType2The second container type.
Example
#include <Morpheus_Core.hpp>
int main(){
// both print 1
std::cout << std::is_same<typename bin::type1, c1>::value << std::endl;
std::cout << std::is_same<typename bin::type2, c2>::value << std::endl;
}
Implementation of the Coordinate (COO) Sparse Matrix Format Representation.
Definition: Morpheus_CooMatrix.hpp:91
The DenseVector container is a one-dimensional container that contains contiguous elements....
Definition: Morpheus_DenseVector.hpp:83
A wrapper that constructs a new container type that holds two container types.
Definition: Morpheus_ContainerFactory.hpp:163

The documentation for this struct was generated from the following file: