Arcane
v3.16.2.0
Documentation développeur
Toggle main menu visibility
Page principale
Pages associées
Topics
Espaces de nommage
Liste des espaces de nommage
Membres de l'espace de nommage
Tout
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Fonctions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
Variables
Définitions de type
a
b
c
d
e
f
i
l
m
n
p
r
s
t
u
v
Énumérations
e
i
m
t
Valeurs énumérées
d
h
i
l
m
p
r
s
t
w
Concepts
Classes
Liste des classes
Index des classes
Hiérarchie des classes
Membres de classe
Tout
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Fonctions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Définitions de type
_
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
v
Énumérations
_
c
d
e
m
p
s
Valeurs énumérées
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Fonctions associées
_
d
i
m
o
s
Fichiers
Liste des fichiers
Membres de fichier
Tout
a
d
e
g
k
p
r
s
t
v
Fonctions
Variables
Définitions de type
Énumérations
Valeurs énumérées
k
Macros
a
e
p
r
▼
Arcane
►
Nouveautés et changements
►
Comment écrire de la documentation
►
Personnalisation de la doc
►
Compilation et installation
►
Gestion des connectivités à la demande
Réalisation d'un lecteur de maillage
►
Services et modules disponibles
Variables d'environnement
Liste des éléments obsolètes
Liste des choses à faire
►
Topics
►
Espaces de nommage
►
Concepts
►
Classes
▼
Fichiers
▼
Liste des fichiers
►
arcane
►
arcane
▼
arcane
►
accelerator
►
aleph
►
cartesianmesh
►
core
►
corefinement
►
dotnet
►
driver
►
driverlib
►
geometry
►
hdf5
►
hyoda
►
impl
►
ios
►
launcher
►
materials
▼
matrix
►
usecases
fake.h
IndexedSpace.h
matrix/Matrix.h
matrix_test.cc
MatrixExpressionT.h
MatrixOperationsT.h
MatrixVectorOperationsT.h
matrix/Vector.h
VectorExpressionT.h
VectorOperationsT.h
►
mesh
►
mono
►
parallel
►
std
►
totalview
►
utils
►
arccore
►
Membres de fichier
•
Tout
Classes
Espaces de nommage
Fichiers
Fonctions
Variables
Définitions de type
Énumérations
Valeurs énumérées
Amis
Macros
Groupes
Pages
Concepts
Chargement...
Recherche...
Aucune correspondance
matrix/Matrix.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4
// See the top-level COPYRIGHT file for details.
5
// SPDX-License-Identifier: Apache-2.0
6
//-----------------------------------------------------------------------------
7
/*---------------------------------------------------------------------------*/
8
/* IndexedSpace.h (C) 2014 */
9
/* */
10
/* Space for linear algebra. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_MATRIX_H
13
#define ARCANE_MATRIX_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
//#include "arcane/ArcaneTypes.h"
18
//#include "arcane/matrix/MatrixExpressionT.h"
19
20
#include "MatrixExpressionT.h"
21
22
/*---------------------------------------------------------------------------*/
23
/*---------------------------------------------------------------------------*/
24
25
ARCANE_BEGIN_NAMESPACE
26
27
/*---------------------------------------------------------------------------*/
28
/*---------------------------------------------------------------------------*/
29
30
31
35
class
Matrix:
public
MatrixExpr
<Matrix>
36
{
37
public
:
38
Matrix(
const
IndexedSpace
& from=
EmptyIndexedSpace
(),
const
IndexedSpace
& to=
EmptyIndexedSpace
())
39
: m_from(from), m_to(to) {}
40
41
template
<
class
M>
42
Matrix(
const
MatrixExpr<M>
& src) {}
43
44
~Matrix() {}
45
46
template
<
class
M>
47
Matrix& operator=(
const
MatrixExpr<M>
& src) {
return
*
this
;}
48
49
const
IndexedSpace
& maps_from()
const
{
return
m_from; }
50
const
IndexedSpace
& maps_to()
const
{
return
m_to; }
51
52
private
:
53
IndexedSpace
m_from;
54
IndexedSpace
m_to;
55
};
35
class
Matrix:
public
MatrixExpr
<Matrix> {
…
};
56
57
58
59
/*---------------------------------------------------------------------------*/
60
/*---------------------------------------------------------------------------*/
61
62
ARCANE_END_NAMESPACE
63
64
/*---------------------------------------------------------------------------*/
65
/*---------------------------------------------------------------------------*/
66
67
#endif
// ARCANE_MATRIX_H
Arcane::MatrixExpr
Class to inherite to perform matrix computations.
Definition
MatrixExpressionT.h:38
EmptyIndexedSpace
Definition
IndexedSpace.h:58
IndexedSpace
Indexed set/space to define matrix and vector support.
Definition
IndexedSpace.h:31
arcane
matrix
Matrix.h
Généré le Lundi 5 Mai 2025 02:59:42 pour Arcane par
1.13.2