Arcane
v3.16.0.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
mathlink.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
/* mathlink.h (C) 2013 */
9
/* */
10
/*---------------------------------------------------------------------------*/
11
#ifndef MATHEMATICA_LINK_H
12
#define MATHEMATICA_LINK_H
13
14
ARCANE_BEGIN_NAMESPACE
15
16
class
mathlink :
public
AbstractService
{
17
public
:
18
mathlink(
const
ServiceBuildInfo
&);
19
~mathlink();
20
public
:
21
void
link();
22
void
unlink();
23
public
:
24
Integer
Prime(
Integer
);
25
private
:
26
void
skipAnyPacketsBeforeTheFirstReturnPacket();
27
void
error();
28
private
:
29
void
tests();
30
void
testFactorInteger(
Int64
);
31
void
testLinearProgramming(
ArrayView<Integer>
);
32
private
:
33
ISubDomain
*m_sub_domain;
34
MLENV mathenv;
35
MLINK mathlnk;
36
Timer
*mathtmr;
37
};
38
ARCANE_END_NAMESPACE
39
#endif
// MATHEMATICA_LINK_H
Arcane::AbstractService::AbstractService
AbstractService(const ServiceBuildInfo &)
Constructeur à partir d'un ServiceBuildInfo.
Definition
AbstractService.cc:29
Arcane::ArrayView
Vue modifiable d'un tableau d'un type T.
Definition
arccore/src/base/arccore/base/ArrayView.h:94
Arcane::ISubDomain
Interface du gestionnaire d'un sous-domaine.
Definition
ISubDomain.h:74
Arcane::ServiceBuildInfo
Structure contenant les informations pour créer un service.
Definition
ServiceBuildInfo.h:198
Arcane::Timer
Gestion d'un timer.
Definition
Timer.h:62
Arcane::Int64
std::int64_t Int64
Type entier signé sur 64 bits.
Definition
ArccoreGlobal.h:186
Arcane::Integer
Int32 Integer
Type représentant un entier.
Definition
ArccoreGlobal.h:240
arcane
mathlink
mathlink.h
Généré le Lundi 10 Mars 2025 02:24:00 pour Arcane par
1.13.2