identity operator!= operator* operator+ operator- operator<<

toggle TOC (ctrl + ⇔)

sal/data/matrix.h

identity
operator!=
operator*
operator+
operator-
operator<<
Matrix

identity

Declaration

template <typename T>
Matrix<T> identity(size_t size);

Parameters

size

Return value

Example

Discussion

operator!=

Declaration

template <typename T>
bool operator!=(const Matrix<T>& a, const Matrix<T>& b);

Parameters

a
b

Return value

Example

Discussion

operator*

Declaration

template <typename T>
Matrix<T> operator*(const Matrix<T>& a, const Matrix<T>& b);

Parameters

a
b

Return value

Example

Discussion

operator+

Declaration

template <typename T>
Matrix<T> operator+(const Matrix<T>& a, const Matrix<T>& b);

Parameters

a
b

Return value

Example

Discussion

operator-

Declaration

template <typename T>
Matrix<T> operator-(const Matrix<T>& a, const Matrix<T>& b);

Parameters

a
b

Return value

Example

Discussion

operator<<

Declaration

template <typename T>
ostream& operator<<(ostream& os, const Matrix<T>& m);

Parameters

os
m

Return value

Example

Discussion