SOFA API  1c8b807d
Open source framework for multi-physics simuation
sofa::linearalgebra::sparsematrixproduct Namespace Reference

Classes

struct  IndexedValue
 
class  IndexValueProduct
 

Functions

template<class Scalar >
std::ostream & operator<< (std::ostream &o, IndexedValue< Scalar > &p)
 
template<class Scalar >
std::ostream & operator<< (std::ostream &o, IndexValueProduct< Scalar > &p)
 
template<class ScalarLhs , class ScalarRhs >
IndexValueProduct< decltype(ScalarLhs{} *ScalarRhs{})> operator* (const IndexedValue< ScalarLhs > &lhs, const IndexedValue< ScalarRhs > &rhs)
 

Function Documentation

◆ operator*()

template<class ScalarLhs , class ScalarRhs >
IndexValueProduct<decltype(ScalarLhs{} * ScalarRhs{})> sofa::linearalgebra::sparsematrixproduct::operator* ( const IndexedValue< ScalarLhs > &  lhs,
const IndexedValue< ScalarRhs > &  rhs 
)

◆ operator<<() [1/2]

template<class Scalar >
std::ostream& sofa::linearalgebra::sparsematrixproduct::operator<< ( std::ostream &  o,
IndexedValue< Scalar > &  p 
)

◆ operator<<() [2/2]

template<class Scalar >
std::ostream& sofa::linearalgebra::sparsematrixproduct::operator<< ( std::ostream &  o,
IndexValueProduct< Scalar > &  p 
)