LSSTApplications
11.0-24-g0a022a1,14.0+77,15.0,15.0+1
LSSTDataManagementBasePackage
|
#include <string>
#include <stdexcept>
#include <vector>
#include "ndarray.h"
#include "ast.h"
Go to the source code of this file.
Namespaces | |
ast | |
AST wrapper classes and functions. | |
Typedefs | |
using | ast::Array2D = ndarray::Array< double, 2, 2 > |
2D array of const double; typically used for lists of const points More... | |
using | ast::ConstArray2D = ndarray::Array< const double, 2, 2 > |
2D array of const double; typically used for lists of const points More... | |
using | ast::PointI = std::vector< int > |
Vector of ints; typically used for the bounds of Mapping.tranGridForward and inverse. More... | |
using | ast::PointD = std::vector< double > |
Vector of double; used for bounds, points. More... | |
Enumerations | |
enum | ast::DataType { ast::DataType::IntType = AST__INTTYPE, ast::DataType::ShortIntType = AST__SINTTYPE, ast::DataType::ByteType = AST__BYTETYPE, ast::DataType::DoubleType = AST__DOUBLETYPE, ast::DataType::FloatType = AST__FLOATTYPE, ast::DataType::StringType = AST__STRINGTYPE, ast::DataType::ObjectType = AST__OBJECTTYPE, ast::DataType::PointerType = AST__POINTERTYPE, ast::DataType::UndefinedType = AST__UNDEFTYPE, ast::DataType::BadType = AST__BADTYPE } |
Data types held by a KeyMap. More... | |
Functions | |
void | ast::assertOK (AstObject *rawPtr1=nullptr, AstObject *rawPtr2=nullptr) |
Throw std::runtime_error if AST's state is bad. More... | |
bool | ast::escapes (int include=-1) |
Control whether graphical escape sequences are included in strings. More... | |
ConstArray2D | ast::arrayFromVector (std::vector< double > const &vec, int nAxes) |
Reshape a vector as a 2-dimensional array that shares the same memory. More... | |
Array2D | ast::arrayFromVector (std::vector< double > &vec, int nAxes) |
Reshape a vector as a 2-dimensional array that shares the same memory. More... | |