GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
op-mi.cc File Reference
#include <iostream>
#include "errwarn.h"
#include "ops.h"
#include "ov-magic-int.h"
#include "ov-typeinfo.h"
#include "ov.h"
Include dependency graph for op-mi.cc:

Go to the source code of this file.

Functions

void install_mi_ops (octave::type_info &ti)
 
static octave_value oct_unop_signed_uminus (const octave_base_value &a)
 
static octave_value oct_unop_signed_uplus (const octave_base_value &a)
 
static octave_value oct_unop_unsigned_uminus (const octave_base_value &a)
 
static octave_value oct_unop_unsigned_uplus (const octave_base_value &a)
 

Function Documentation

◆ install_mi_ops()

void install_mi_ops ( octave::type_info &  ti)

Definition at line 118 of file op-mi.cc.

References INSTALL_UNOP_TI, op_uminus(), and op_uplus().

◆ oct_unop_signed_uminus()

static octave_value oct_unop_signed_uminus ( const octave_base_value a)
static

Definition at line 106 of file op-mi.cc.

References octave_value(), and octave_base_magic_int< T >::scalar_ref().

◆ oct_unop_signed_uplus()

static octave_value oct_unop_signed_uplus ( const octave_base_value a)
static

Definition at line 97 of file op-mi.cc.

References octave_magic_int::clone(), and octave_value().

◆ oct_unop_unsigned_uminus()

static octave_value oct_unop_unsigned_uminus ( const octave_base_value a)
static

◆ oct_unop_unsigned_uplus()

static octave_value oct_unop_unsigned_uplus ( const octave_base_value a)
static

Definition at line 48 of file op-mi.cc.

References octave_magic_uint::clone(), and octave_value().