SLIDE  3.0.0
A simulator for lithium-ion battery pack degradation
Loading...
Searching...
No Matches
matrix.hpp File Reference
#include "DynamicMatrix.hpp"
#include <cstdlib>
#include <array>
#include <cmath>
Include dependency graph for matrix.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  slide
 Slide namespace contains all the types, classes, and functions for the simulation framework.
 

Typedefs

template<typename T , size_t ROW, size_t COL>
using slide::Matrix = std::array< std::array< T, COL >, ROW >
 See source: http://cpptruths.blogspot.com/2011/10/multi-dimensional-arrays-in-c11.html. More...
 

Functions

template<size_t N, size_t M = N>
auto slide::eye (double k=1.0)
 
template<size_t N, size_t M = N>
auto slide::zeros ()
 
template<int N, int M = N>
auto slide::ones (double k=1.0)
 
template<int N>
void slide::cholUpdate (slide::Matrix< double, N, N > &L, std::array< double, N > x, bool isDowndate=false)