-
Notifications
You must be signed in to change notification settings - Fork 2
Vector
yantsant edited this page Jul 22, 2022
·
5 revisions
For example we have basis handler:
auto* basis = new shared_handler_basis<double, 3>(matrix_base<double, 3>(matrix_generator::generate_rand_ort<double, DIM>()));
and some matrix of components:
auto* comp = new vect_base<double, 3>;
so we can compose them to create an object of Vector:
auto* v = new Vector<double, DIM>(*comp, *basis);
Idea of creation of linked and not linked Vectors is the same as for Tensors.