Alien  1.3.0
Developer documentation
Loading...
Searching...
No Matches
SimpleCSRInternalLinearAlgebra.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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
9#include <cmath>
10#include <tuple>
11
12#include "SimpleCSRInternalLinearAlgebra.h"
13#include <alien/utils/Precomp.h>
14
15#include <arccore/base/NotImplementedException.h>
16#include <arccore/base/TraceInfo.h>
17
20
21#include "CBLASMPIKernel.h"
22#include "SimpleCSRMatrixMult.h"
23
24/*---------------------------------------------------------------------------*/
25
26namespace Alien
27{
28
29using namespace Arccore;
30
31template class ALIEN_EXPORT LinearAlgebra<BackEnd::tag::simplecsr>;
32template class ALIEN_EXPORT LinearAlgebraExpr<BackEnd::tag::simplecsr>;
33
35SimpleCSRInternalLinearAlgebraFactory()
36{
38}
39
41SimpleCSRInternalLinearAlgebraExprFactory()
42{
44}
45
46/*---------------------------------------------------------------------------*/
47
48namespace Internal = SimpleCSRInternal;
49
50/*---------------------------------------------------------------------------*/
51
52SimpleCSRInternalLinearAlgebra::SimpleCSRInternalLinearAlgebra()
53: IInternalLinearAlgebra<CSRMatrix, CSRVector>()
54{}
55
56/*---------------------------------------------------------------------------*/
57
58SimpleCSRInternalLinearAlgebra::~SimpleCSRInternalLinearAlgebra()
59{
60#ifdef ALIEN_USE_PERF_TIMER
61 m_timer.printInfo("SIMPLECSR-ALGEBRA");
62#endif
63}
64
65/*---------------------------------------------------------------------------*/
66/*---------------------------------------------------------------------------*/
67SimpleCSRInternalLinearAlgebra::ResourceType
68SimpleCSRInternalLinearAlgebra::resource(Matrix const& A)
69{
70 return std::make_tuple(&A.rowDistribution(),A.blockSize());
71}
72
73void SimpleCSRInternalLinearAlgebra::allocate(ResourceType resource, Vector& v)
74{
75 v.init(*std::get<0>(resource),std::get<1>(resource), true);
76}
77
78void SimpleCSRInternalLinearAlgebra::free(Vector& v)
79{
80 v.clear();
81}
82
83Real SimpleCSRInternalLinearAlgebra::norm0(const CSRVector& vx) const
84{
85#ifdef ALIEN_USE_PERF_TIMER
86 SentryType s(m_timer, "CSR-NORM0");
87#endif
88
89 return CBLASMPIKernel::nrm0(vx.distribution(), vx);
90}
91
92/*---------------------------------------------------------------------------*/
93
94Real SimpleCSRInternalLinearAlgebra::norm1(const CSRVector& vx) const
95{
96#ifdef ALIEN_USE_PERF_TIMER
97 SentryType s(m_timer, "CSR-NORM1");
98#endif
99
100 return CBLASMPIKernel::nrm1(vx.distribution(), vx);
101}
102
103/*---------------------------------------------------------------------------*/
104
105Real SimpleCSRInternalLinearAlgebra::norm2(const CSRVector& vx) const
106{
107#ifdef ALIEN_USE_PERF_TIMER
108 SentryType s(m_timer, "CSR-NORM2");
109#endif
110 return CBLASMPIKernel::nrm2(vx.distribution(), vx);
111}
112
113/*---------------------------------------------------------------------------*/
114
115Real SimpleCSRInternalLinearAlgebra::normInf(const CSRVector& vx) const
116{
117#ifdef ALIEN_USE_PERF_TIMER
118 SentryType s(m_timer, "CSR-NORMINF");
119#endif
120 return CBLASMPIKernel::nrmInf(vx.distribution(), vx);
121}
122
123/*---------------------------------------------------------------------------*/
124
125void SimpleCSRInternalLinearAlgebra::synchronize(const CSRMatrix& ma,
126 CSRVector& vx) const
127{
128 Internal::SimpleCSRMatrixMultT<Real>(ma).synchronize(vx);
129}
130
131void SimpleCSRInternalLinearAlgebra::mult(const CSRMatrix& ma,
132 const CSRVector& vx,
133 CSRVector& vr) const
134{
135#ifdef ALIEN_USE_PERF_TIMER
136 SentryType s(m_timer, "CSR-SPMV");
137#endif
138 Internal::SimpleCSRMatrixMultT<Real>(ma).mult(vx, vr);
139}
140
141void SimpleCSRInternalLinearAlgebra::addLMult(Real alpha,
142 const CSRMatrix& ma,
143 const CSRVector& vx,
144 CSRVector& vr) const
145{
146#ifdef ALIEN_USE_PERF_TIMER
147 SentryType s(m_timer, "CSR-AddLMult");
148#endif
149 Internal::SimpleCSRMatrixMultT<Real>(ma).addLMult(alpha, vx, vr);
150}
151
152
153void SimpleCSRInternalLinearAlgebra::endDistAddLMult(Real alpha,
154 const CSRMatrix& ma,
155 const CSRVector& vx,
156 CSRVector& vr) const
157{
158#ifdef ALIEN_USE_PERF_TIMER
159 SentryType s(m_timer, "CSR-AddLMult");
160#endif
161 Internal::SimpleCSRMatrixMultT<Real>(ma).endDistAddLMult(alpha, vx, vr);
162}
163
164void SimpleCSRInternalLinearAlgebra::addUMult(Real alpha,
165 const CSRMatrix& ma,
166 const CSRVector& vx,
167 CSRVector& vr) const
168{
169#ifdef ALIEN_USE_PERF_TIMER
170 SentryType s(m_timer, "CSR-AddUMult");
171#endif
172 Internal::SimpleCSRMatrixMultT<Real>(ma).addUMult(alpha, vx, vr);
173}
174
175void SimpleCSRInternalLinearAlgebra::endDistAddUMult(Real alpha,
176 const CSRMatrix& ma,
177 const CSRVector& vx,
178 CSRVector& vr) const
179{
180#ifdef ALIEN_USE_PERF_TIMER
181 SentryType s(m_timer, "CSR-endDistAddUMult");
182#endif
183 Internal::SimpleCSRMatrixMultT<Real>(ma).endDistAddUMult(alpha, vx, vr);
184}
185
186void SimpleCSRInternalLinearAlgebra::lowerUpperSynchronize(const CSRMatrix& ma,
187 CSRVector& vr) const
188{
189#ifdef ALIEN_USE_PERF_TIMER
190 SentryType s(m_timer, "CSR-luSynchronize");
191#endif
192 Internal::SimpleCSRMatrixMultT<Real>(ma).lowerUpperSynchronize(vr, vr);
193}
194
195void SimpleCSRInternalLinearAlgebra::upperLowerSynchronize(const CSRMatrix& ma,
196 CSRVector& vr) const
197{
198#ifdef ALIEN_USE_PERF_TIMER
199 SentryType s(m_timer, "CSR-ulSynchronize");
200#endif
201 Internal::SimpleCSRMatrixMultT<Real>(ma).upperLowerSynchronize(vr, vr);
202}
203
204void SimpleCSRInternalLinearAlgebra::multDiag(const CSRMatrix& ma, CSRVector& vr) const
205{
206#ifdef ALIEN_USE_PERF_TIMER
207 SentryType s(m_timer, "CSR-MULTDIAG");
208#endif
209 Internal::SimpleCSRMatrixMultT<Real>(ma).multDiag(vr);
210}
211
212void SimpleCSRInternalLinearAlgebra::computeDiag(const CSRMatrix& ma, CSRVector& vr) const
213{
214#ifdef ALIEN_USE_PERF_TIMER
215 SentryType s(m_timer, "CSR-DIAG");
216#endif
217 Internal::SimpleCSRMatrixMultT<Real>(ma).computeDiag(vr);
218}
219
220void SimpleCSRInternalLinearAlgebra::multInvDiag(const CSRMatrix& ma, CSRVector& vr) const
221{
222#ifdef ALIEN_USE_PERF_TIMER
223 SentryType s(m_timer, "CSR-MULTINVDIAG");
224#endif
225 Internal::SimpleCSRMatrixMultT<Real>(ma).multInvDiag(vr);
226}
227
228void SimpleCSRInternalLinearAlgebra::computeInvDiag(const CSRMatrix& ma, CSRVector& vr) const
229{
230#ifdef ALIEN_USE_PERF_TIMER
231 SentryType s(m_timer, "CSR-INVDIAG");
232#endif
233 Internal::SimpleCSRMatrixMultT<Real>(ma).computeInvDiag(vr);
234}
235
236/*---------------------------------------------------------------------------*/
237
238void SimpleCSRInternalLinearAlgebra::axpy(Real alpha, const CSRVector& vx, CSRVector& vr) const
239{
240#ifdef ALIEN_USE_PERF_TIMER
241 SentryType s(m_timer, "CSR-AXPY");
242#endif
243 CBLASMPIKernel::axpy(vx.distribution(), alpha, vx, vr);
244}
245
246/*---------------------------------------------------------------------------*/
247
248void SimpleCSRInternalLinearAlgebra::aypx(Real alpha ALIEN_UNUSED_PARAM,
249 CSRVector& y ALIEN_UNUSED_PARAM,
250 const CSRVector& x ALIEN_UNUSED_PARAM) const
251{
252 throw NotImplementedException(
253 A_FUNCINFO, "SimpleCSRLinearAlgebra::aypx not implemented");
254}
255
256/*---------------------------------------------------------------------------*/
257
258void SimpleCSRInternalLinearAlgebra::copy(const CSRVector& vx, CSRVector& vr) const
259{
260#ifdef ALIEN_USE_PERF_TIMER
261 SentryType s(m_timer, "CSR-COPY");
262#endif
263 CBLASMPIKernel::copy(vx.distribution(), vx, vr);
264}
265
266void SimpleCSRInternalLinearAlgebra::axpy(Real alpha,
267 const CSRVector& vx,
268 Integer stride_x,
269 CSRVector& vr,
270 Integer stride_r) const
271{
272#ifdef ALIEN_USE_PERF_TIMER
273 SentryType s(m_timer, "CSR-AXPY");
274#endif
275 CBLASMPIKernel::axpy(vx.distribution(), alpha, vx, stride_x, vr, stride_r);
276}
277
278
279void SimpleCSRInternalLinearAlgebra::axpy(Real alpha,
280 const CSRVector& vx,
281 CSRVector& vr,
282 ConstArrayView<Integer> strides_r) const
283{
284#ifdef ALIEN_USE_PERF_TIMER
285 SentryType s(m_timer, "CSR-AXPY");
286#endif
287 CBLASMPIKernel::axpy(vr.distribution(), alpha, vx, vr, strides_r);
288}
289/*---------------------------------------------------------------------------*/
290
291void SimpleCSRInternalLinearAlgebra::aypx([[maybe_unused]] Real alpha,
292 [[maybe_unused]] CSRVector& y,
293 [[maybe_unused]] Integer stride_y,
294 [[maybe_unused]] const CSRVector& x,
295 [[maybe_unused]] Integer stride_x) const
296{
297 throw NotImplementedException(
298 A_FUNCINFO, "SimpleCSRLinearAlgebra::aypx not implemented");
299}
300
301void SimpleCSRInternalLinearAlgebra::copy(const Vector& vx,
302 Integer stride_x,
303 Vector& vr,
304 Integer stride_r) const
305{
306#ifdef ALIEN_USE_PERF_TIMER
307 SentryType s(m_timer, "CSR-COPY");
308#endif
309 CBLASMPIKernel::copy(vx.distribution(), vx, stride_x, vr, stride_r);
310}
311
312
313void SimpleCSRInternalLinearAlgebra::copy(const Vector& vx,
314 ConstArrayView<Integer> strides_x,
315 Vector& vr) const
316{
317#ifdef ALIEN_USE_PERF_TIMER
318 SentryType s(m_timer, "CSR-COPY");
319#endif
320 CBLASMPIKernel::copy(vr.distribution(), vx, strides_x, vr);
321}
322
323void SimpleCSRInternalLinearAlgebra::copy(const Vector& vx,
324 Vector& vr,
325 ConstArrayView<Integer> strides_r) const
326{
327#ifdef ALIEN_USE_PERF_TIMER
328 SentryType s(m_timer, "CSR-COPY");
329#endif
330 CBLASMPIKernel::copy(vr.distribution(), vx, vr, strides_r);
331}
332/*---------------------------------------------------------------------------*/
333
334Real SimpleCSRInternalLinearAlgebra::dot(const CSRVector& vx, const CSRVector& vy) const
335{
336#ifdef ALIEN_USE_PERF_TIMER
337 SentryType s(m_timer, "CSR-DOT");
338#endif
339 return CBLASMPIKernel::dot(vx.distribution(), vx, vy);
340}
341
342void SimpleCSRInternalLinearAlgebra::dot(const CSRVector& vx,
343 const CSRVector& vy,
344 SimpleCSRInternalLinearAlgebra::FutureType& res) const
345{
346#ifdef ALIEN_USE_PERF_TIMER
347 SentryType s(m_timer, "CSR-DOT-F");
348#endif
349 res() = CBLASMPIKernel::dot(vx.distribution(), vx, vy);
350}
351
352/*---------------------------------------------------------------------------*/
353
354void SimpleCSRInternalLinearAlgebra::scal(Real alpha, CSRVector& vx) const
355{
356#ifdef ALIEN_USE_PERF_TIMER
357 SentryType s(m_timer, "CSR-SCAL");
358#endif
359 CBLASMPIKernel::scal(vx.distribution(), alpha, vx);
360}
361
362void SimpleCSRInternalLinearAlgebra::scal(CSRVector const& vx, CSRMatrix& a) const
363{
364#ifdef ALIEN_USE_PERF_TIMER
365 SentryType s(m_timer, "CSR-SCAL");
366#endif
367 a.scal(vx.data()) ;
368}
369
370void SimpleCSRInternalLinearAlgebra::diagonal(
371const CSRMatrix& a, CSRVector& diag) const
372{
373#ifdef ALIEN_USE_PERF_TIMER
374 SentryType s(m_timer, "CSR-DIAG");
375#endif
376 Internal::SimpleCSRMatrixMultT<Real>(a).computeDiag(diag);
377}
378
379void SimpleCSRInternalLinearAlgebra::reciprocal(CSRVector& x ALIEN_UNUSED_PARAM) const
380{
381 throw NotImplementedException(
382 A_FUNCINFO, "SimpleCSRLinearAlgebra::reciprocal not implemented");
383}
384
385void SimpleCSRInternalLinearAlgebra::pointwiseMult(const CSRVector& vx,
386 const CSRVector& vy,
387 CSRVector& vz) const
388{
389#ifdef ALIEN_USE_PERF_TIMER
390 SentryType s(m_timer, "CSR-XYZ");
391#endif
392 CBLASMPIKernel::pointwiseMult(vx.distribution(), vx, vy, vz);
393}
394
395void SimpleCSRInternalLinearAlgebra::assign(CSRVector& vx, Real alpha) const
396{
397#ifdef ALIEN_USE_PERF_TIMER
398 SentryType s(m_timer, "CSR-ASSIGN");
399#endif
400 CBLASMPIKernel::assign(vx.distribution(), alpha, vx);
401}
402
403Integer SimpleCSRInternalLinearAlgebra::computeCxr(const CSRMatrix& a, CSRMatrix& cxr_a) const
404{
405 auto block_size = a.blockSize() ;
406 cxr_a.setBlockSize(1) ;
407 cxr_a.copy(a) ;
408 return block_size ;
409}
410
411Integer SimpleCSRInternalLinearAlgebra::computeCxr(const CSRMatrix& a,
412 CSRMatrix& cxr_a,
413 UniqueArray<Integer>& strides) const
414{
415 auto block_size = a.blockSize() ;
416 cxr_a.setBlockSize(1) ;
417 {
418 const ISpace& space = a.rowSpace();
419 const MatrixDistribution& dist = a.distribution();
420
421 bool elliptic_split_tag_found = false ;
422
423 Integer domain_offset = dist.rowOffset();
424 Integer local_size = dist.localRowSize();
425
426 UniqueArray<Integer> filter(local_size);
427 filter.fill(0);
428 for (Integer i = 0; i < space.nbField(); ++i)
429 {
430 const UniqueArray<Integer>& indices = space.field(i);
431 if (space.fieldLabel(i) == "Elliptic" and not indices.empty())
432 {
433 elliptic_split_tag_found = true;
434 for (Integer j = 0; j < indices.size(); ++j)
435 {
436 const Integer index = indices[j];
437 //alien_info([&] { cout()<< "Elliptic index "<<j<<" "<<index;}) ;
438 filter[index - domain_offset] = 1 ;
439 }
440 }
441 }
442 cxr_a.copy(a,filter,strides) ;
443 }
444 return block_size ;
445}
446
447Integer SimpleCSRInternalLinearAlgebra::computeCxr(const CSRMatrix& a, const CSRVector& diag, CSRMatrix& cxr_a) const
448{
449 auto block_size = a.blockSize() ;
450 cxr_a.setBlockSize(1) ;
451 cxr_a.copy(a) ;
452 cxr_a.scal(diag.data());
453 return block_size ;
454}
455
456
457SimpleCSRInternalLinearAlgebraExpr::SimpleCSRInternalLinearAlgebraExpr()
458: IInternalLinearAlgebraExpr<CSRMatrix, CSRVector>()
459{}
460
461/*---------------------------------------------------------------------------*/
462
463SimpleCSRInternalLinearAlgebraExpr::~SimpleCSRInternalLinearAlgebraExpr() {}
464
465/*---------------------------------------------------------------------------*/
466/*---------------------------------------------------------------------------*/
467
468Real SimpleCSRInternalLinearAlgebraExpr::norm0(const CSRVector& vx) const
469{
470 return CBLASMPIKernel::nrm0(vx.distribution(), vx);
471}
472
473/*---------------------------------------------------------------------------*/
474
475Real SimpleCSRInternalLinearAlgebraExpr::norm1(const CSRVector& vx) const
476{
477 return CBLASMPIKernel::nrm1(vx.distribution(), vx);
478}
479
480/*---------------------------------------------------------------------------*/
481
482Real SimpleCSRInternalLinearAlgebraExpr::norm2(const CSRVector& vx) const
483{
484 return CBLASMPIKernel::nrm2(vx.distribution(), vx);
485}
486
487/*---------------------------------------------------------------------------*/
488
489Real SimpleCSRInternalLinearAlgebraExpr::normInf(const CSRVector& vx) const
490{
491 return CBLASMPIKernel::nrmInf(vx.distribution(), vx);
492}
493
494/*---------------------------------------------------------------------------*/
495
496Real SimpleCSRInternalLinearAlgebraExpr::norm2(const CSRMatrix& mx) const
497{
498#ifdef ALIEN_USE_PERF_TIMER
499 SentryType s(m_timer, "MATRIX-CSR-NORM2");
500#endif
501 return CBLASMPIKernel::matrix_nrm2(mx.distribution(), mx);
502}
503/*---------------------------------------------------------------------------*/
504
505void SimpleCSRInternalLinearAlgebraExpr::mult(
506const CSRMatrix& ma, const CSRVector& vx, CSRVector& vr) const
507{
508 Internal::SimpleCSRMatrixMultT<Real>(ma).mult(vx, vr);
509}
510
511void SimpleCSRInternalLinearAlgebraExpr::mult(
512const CSRMatrix& ma, const UniqueArray<Real>& vx, UniqueArray<Real>& vr) const
513{
514 Internal::SimpleCSRMatrixMultT<Real>(ma).mult(vx, vr);
515}
516
517/*---------------------------------------------------------------------------*/
518
519void SimpleCSRInternalLinearAlgebraExpr::axpy(Real alpha, const UniqueArray<Real>& vx, UniqueArray<Real>& vr) const
520{
521 cblas::axpy(vx.size(), alpha, dataPtr(vx), 1, dataPtr(vr), 1);
522}
523
524void SimpleCSRInternalLinearAlgebraExpr::axpy(Real alpha, const CSRVector& vx, CSRVector& vr) const
525{
526 CBLASMPIKernel::axpy(vx.distribution(), alpha, vx, vr);
527}
528
529/*---------------------------------------------------------------------------*/
530
531void SimpleCSRInternalLinearAlgebraExpr::aypx(Real alpha, UniqueArray<Real>& vy, UniqueArray<Real> const& vx) const
532{
533 throw NotImplementedException(
534 A_FUNCINFO, "SimpleCSRLinearAlgebra::aypx not implemented");
535}
536
537void SimpleCSRInternalLinearAlgebraExpr::aypx(Real alpha ALIEN_UNUSED_PARAM,
538 CSRVector& y ALIEN_UNUSED_PARAM, const CSRVector& x ALIEN_UNUSED_PARAM) const
539{
540 throw NotImplementedException(
541 A_FUNCINFO, "SimpleCSRLinearAlgebra::aypx not implemented");
542}
543
544/*---------------------------------------------------------------------------*/
545
546void SimpleCSRInternalLinearAlgebraExpr::copy(
547const UniqueArray<Real>& vx, UniqueArray<Real>& vr) const
548{
549 cblas::copy(vx.size(), dataPtr(vx), 1, dataPtr(vr), 1);
550}
551
552void SimpleCSRInternalLinearAlgebraExpr::copy(const CSRVector& vx, CSRVector& vr) const
553{
554 CBLASMPIKernel::copy(vx.distribution(), vx, vr);
555}
556
557void SimpleCSRInternalLinearAlgebraExpr::copy(const CSRMatrix& ma, CSRMatrix& mr) const
558{
559#ifdef ALIEN_USE_PERF_TIMER
560 SentryType s(m_timer, "MATRIX-CSR-COPY");
561#endif
562 mr.copy(ma);
563}
564
565void SimpleCSRInternalLinearAlgebraExpr::add(const CSRMatrix& ma, CSRMatrix& mr) const
566{
567#ifdef ALIEN_USE_PERF_TIMER
568 SentryType s(m_timer, "MATRIX-CSR-ADD");
569#endif
570
571 cblas::axpy(mr.getProfile().getNnz(), 1, (CSRMatrix::ValueType*)ma.data(), 1, mr.data(), 1);
572}
573
574void SimpleCSRInternalLinearAlgebraExpr::scal(Real alpha, CSRMatrix& mr) const
575{
576#ifdef ALIEN_USE_PERF_TIMER
577 SentryType s(m_timer, "MATRIX-CSR-SCAL");
578#endif
579
580 cblas::scal(mr.getProfile().getNnz(), alpha, mr.data(), 1);
581}
582
583/*---------------------------------------------------------------------------*/
584
585Real SimpleCSRInternalLinearAlgebraExpr::dot(
586Integer local_size, const UniqueArray<Real>& vx, const UniqueArray<Real>& vy) const
587{
588 return cblas::dot(local_size, dataPtr(vx), 1, dataPtr(vy), 1);
589}
590
591Real SimpleCSRInternalLinearAlgebraExpr::dot(const CSRVector& vx, const CSRVector& vy) const
592{
593 return CBLASMPIKernel::dot(vx.distribution(), vx, vy);
594}
595
596/*---------------------------------------------------------------------------*/
597void SimpleCSRInternalLinearAlgebraExpr::scal(Real alpha ALIEN_UNUSED_PARAM, UniqueArray<Real>& x ALIEN_UNUSED_PARAM) const
598{
599 throw NotImplementedException(
600 A_FUNCINFO, "SimpleCSRLinearAlgebra::scal not implemented");
601}
602
603void SimpleCSRInternalLinearAlgebraExpr::scal(Real alpha ALIEN_UNUSED_PARAM, CSRVector& x ALIEN_UNUSED_PARAM) const
604{
605 throw NotImplementedException(
606 A_FUNCINFO, "SimpleCSRLinearAlgebra::aypx not implemented");
607}
608
609void SimpleCSRInternalLinearAlgebraExpr::diagonal(
610const CSRMatrix& a ALIEN_UNUSED_PARAM, CSRVector& x ALIEN_UNUSED_PARAM) const
611{
612 throw NotImplementedException(
613 A_FUNCINFO, "SimpleCSRLinearAlgebra::aypx not implemented");
614}
615
616void SimpleCSRInternalLinearAlgebraExpr::reciprocal(CSRVector& x ALIEN_UNUSED_PARAM) const
617{
618 throw NotImplementedException(
619 A_FUNCINFO, "SimpleCSRLinearAlgebra::aypx not implemented");
620}
621
622void SimpleCSRInternalLinearAlgebraExpr::pointwiseMult(const CSRVector& x ALIEN_UNUSED_PARAM,
623 const CSRVector& y ALIEN_UNUSED_PARAM, CSRVector& w ALIEN_UNUSED_PARAM) const
624{
625 throw NotImplementedException(
626 A_FUNCINFO, "SimpleCSRLinearAlgebra::aypx not implemented");
627}
628
629} // namespace Alien
630
631/*---------------------------------------------------------------------------*/
632/*---------------------------------------------------------------------------*/
LinearAlgebraExprT.h.
LinearAlgebraT.h.
Internal linear algebra interface.
Internal linear algebra interface.
Linear algebra interface.
Linear algebra interface.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Definition BackEnd.h:17