PX4 Firmware
PX4 Autopilot Software http://px4.io
matrix::Scalar< Type > Class Template Reference

#include <Scalar.hpp>

Collaboration diagram for matrix::Scalar< Type >:

Public Member Functions

 Scalar ()=delete
 
 Scalar (const Matrix< Type, 1, 1 > &other)
 
 Scalar (Type other)
 
 operator const Type & ()
 
 operator Matrix< Type, 1, 1 > () const
 
 operator Vector< Type, 1 > () const
 

Private Attributes

const Type _value
 

Detailed Description

template<typename Type>
class matrix::Scalar< Type >

Definition at line 17 of file Scalar.hpp.

Constructor & Destructor Documentation

◆ Scalar() [1/3]

template<typename Type>
matrix::Scalar< Type >::Scalar ( )
delete

◆ Scalar() [2/3]

template<typename Type>
matrix::Scalar< Type >::Scalar ( const Matrix< Type, 1, 1 > &  other)
inline

Definition at line 22 of file Scalar.hpp.

◆ Scalar() [3/3]

template<typename Type>
matrix::Scalar< Type >::Scalar ( Type  other)
inline

Definition at line 27 of file Scalar.hpp.

Member Function Documentation

◆ operator const Type &()

template<typename Type>
matrix::Scalar< Type >::operator const Type & ( )
inline

Definition at line 31 of file Scalar.hpp.

References matrix::Scalar< Type >::_value.

◆ operator Matrix< Type, 1, 1 >()

template<typename Type>
matrix::Scalar< Type >::operator Matrix< Type, 1, 1 > ( ) const
inline

Definition at line 36 of file Scalar.hpp.

References matrix::Scalar< Type >::_value.

◆ operator Vector< Type, 1 >()

template<typename Type>
matrix::Scalar< Type >::operator Vector< Type, 1 > ( ) const
inline

Definition at line 42 of file Scalar.hpp.

References matrix::Scalar< Type >::_value.

Member Data Documentation

◆ _value


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