numerics 0.1.0
Loading...
Searching...
No Matches
num::operators Namespace Reference

Classes

struct  CallableOp
 Adapt any callable void(const Vector&, Vector&) to the operator protocol. More...
 
struct  DenseOp
 Adapt a dense Matrix to the operator protocol. More...
 
struct  SparseOp
 Adapt a SparseMatrix to the operator protocol. More...
 

Concepts

concept  VectorLike
 
concept  MutableVectorLike
 
concept  LinearOperator
 Compile-time contract for y = A*x.
 

Functions

template<class F >
CallableOp< F > make_op (F f, idx rows, idx cols)
 
template<class F >
CallableOp< F > make_op (F f, idx n)
 

Function Documentation

◆ make_op() [1/2]

template<class F >
CallableOp< F > num::operators::make_op ( f,
idx  n 
)

Definition at line 44 of file callable.hpp.

◆ make_op() [2/2]

template<class F >
CallableOp< F > num::operators::make_op ( f,
idx  rows,
idx  cols 
)