Minsky
minsky::OperationTypeInfo Namespace Reference

Functions

template<>
int numArguments< OperationType::constant > ()
 
template<>
int numArguments< OperationType::euler > ()
 
template<>
int numArguments< OperationType::pi > ()
 
template<>
int numArguments< OperationType::zero > ()
 
template<>
int numArguments< OperationType::one > ()
 
template<>
int numArguments< OperationType::inf > ()
 
template<>
int numArguments< OperationType::percent > ()
 
template<>
int numArguments< OperationType::add > ()
 
template<>
int numArguments< OperationType::subtract > ()
 
template<>
int numArguments< OperationType::multiply > ()
 
template<>
int numArguments< OperationType::divide > ()
 
template<>
int numArguments< OperationType::log > ()
 
template<>
int numArguments< OperationType::pow > ()
 
template<>
int numArguments< OperationType::polygamma > ()
 
template<>
int numArguments< OperationType::lt > ()
 
template<>
int numArguments< OperationType::le > ()
 
template<>
int numArguments< OperationType::eq > ()
 
template<>
int numArguments< OperationType::min > ()
 
template<>
int numArguments< OperationType::max > ()
 
template<>
int numArguments< OperationType::and_ > ()
 
template<>
int numArguments< OperationType::or_ > ()
 
template<>
int numArguments< OperationType::covariance > ()
 
template<>
int numArguments< OperationType::correlation > ()
 
template<>
int numArguments< OperationType::linearRegression > ()
 
template<>
int numArguments< OperationType::userFunction > ()
 
template<>
int numArguments< OperationType::not_ > ()
 
template<>
int numArguments< OperationType::time > ()
 
template<>
int numArguments< OperationType::copy > ()
 
template<>
int numArguments< OperationType::integrate > ()
 
template<>
int numArguments< OperationType::differentiate > ()
 
template<>
int numArguments< OperationType::data > ()
 
template<>
int numArguments< OperationType::sqrt > ()
 
template<>
int numArguments< OperationType::exp > ()
 
template<>
int numArguments< OperationType::ln > ()
 
template<>
int numArguments< OperationType::sin > ()
 
template<>
int numArguments< OperationType::cos > ()
 
template<>
int numArguments< OperationType::tan > ()
 
template<>
int numArguments< OperationType::asin > ()
 
template<>
int numArguments< OperationType::acos > ()
 
template<>
int numArguments< OperationType::atan > ()
 
template<>
int numArguments< OperationType::sinh > ()
 
template<>
int numArguments< OperationType::cosh > ()
 
template<>
int numArguments< OperationType::tanh > ()
 
template<>
int numArguments< OperationType::abs > ()
 
template<>
int numArguments< OperationType::floor > ()
 
template<>
int numArguments< OperationType::frac > ()
 
template<>
int numArguments< OperationType::Gamma > ()
 
template<>
int numArguments< OperationType::fact > ()
 
template<>
int numArguments< OperationType::sum > ()
 
template<>
int numArguments< OperationType::product > ()
 
template<>
int numArguments< OperationType::infimum > ()
 
template<>
int numArguments< OperationType::supremum > ()
 
template<>
int numArguments< OperationType::infIndex > ()
 
template<>
int numArguments< OperationType::supIndex > ()
 
template<>
int numArguments< OperationType::size > ()
 
template<>
int numArguments< OperationType::shape > ()
 
template<>
int numArguments< OperationType::mean > ()
 
template<>
int numArguments< OperationType::median > ()
 
template<>
int numArguments< OperationType::stdDev > ()
 
template<>
int numArguments< OperationType::moment > ()
 
template<>
int numArguments< OperationType::histogram > ()
 
template<>
int numArguments< OperationType::any > ()
 
template<>
int numArguments< OperationType::all > ()
 
template<>
int numArguments< OperationType::runningSum > ()
 
template<>
int numArguments< OperationType::runningProduct > ()
 
template<>
int numArguments< OperationType::difference > ()
 
template<>
int numArguments< OperationType::differencePlus > ()
 
template<>
int numArguments< OperationType::innerProduct > ()
 
template<>
int numArguments< OperationType::outerProduct > ()
 
template<>
int numArguments< OperationType::index > ()
 
template<>
int numArguments< OperationType::gather > ()
 
template<>
int numArguments< OperationType::meld > ()
 
template<>
int numArguments< OperationType::merge > ()
 
template<>
int numArguments< OperationType::slice > ()
 
template<>
int numArguments< OperationType::ravel > ()
 
template<>
int numArguments< OperationType::numOps > ()
 
template<OperationType::Type type>
int numArguments ()
 number of inputs this operator type has More...
 

Function Documentation

◆ numArguments()

template<OperationType::Type type>
int minsky::OperationTypeInfo::numArguments ( )

number of inputs this operator type has

◆ numArguments< OperationType::abs >()

Definition at line 90 of file operationType.cc.

90 {return 1;}

◆ numArguments< OperationType::acos >()

Definition at line 85 of file operationType.cc.

85 {return 1;}

◆ numArguments< OperationType::add >()

Definition at line 54 of file operationType.cc.

54 {return 2;}

◆ numArguments< OperationType::all >()

Definition at line 110 of file operationType.cc.

110 {return 1;}

◆ numArguments< OperationType::and_ >()

Definition at line 66 of file operationType.cc.

66 {return 2;}

◆ numArguments< OperationType::any >()

Definition at line 109 of file operationType.cc.

109 {return 1;}

◆ numArguments< OperationType::asin >()

Definition at line 84 of file operationType.cc.

84 {return 1;}

◆ numArguments< OperationType::atan >()

Definition at line 86 of file operationType.cc.

86 {return 1;}

◆ numArguments< OperationType::constant >()

Definition at line 47 of file operationType.cc.

47 {return 0;}

◆ numArguments< OperationType::copy >()

Definition at line 74 of file operationType.cc.

74 {return 1;}

◆ numArguments< OperationType::correlation >()

Definition at line 69 of file operationType.cc.

69 {return 2;}

◆ numArguments< OperationType::cos >()

Definition at line 82 of file operationType.cc.

82 {return 1;}

◆ numArguments< OperationType::cosh >()

Definition at line 88 of file operationType.cc.

88 {return 1;}

◆ numArguments< OperationType::covariance >()

Definition at line 68 of file operationType.cc.

68 {return 2;}

◆ numArguments< OperationType::data >()

Definition at line 77 of file operationType.cc.

77 {return 1;}

◆ numArguments< OperationType::difference >()

Definition at line 113 of file operationType.cc.

113 {return 1;}

◆ numArguments< OperationType::differencePlus >()

Definition at line 114 of file operationType.cc.

114 {return 1;}

◆ numArguments< OperationType::differentiate >()

Definition at line 76 of file operationType.cc.

76 {return 1;}

◆ numArguments< OperationType::divide >()

Definition at line 57 of file operationType.cc.

57 {return 2;}

◆ numArguments< OperationType::eq >()

Definition at line 63 of file operationType.cc.

63 {return 2;}

◆ numArguments< OperationType::euler >()

Definition at line 48 of file operationType.cc.

48 {return 0;}

◆ numArguments< OperationType::exp >()

Definition at line 79 of file operationType.cc.

79 {return 1;}

◆ numArguments< OperationType::fact >()

Definition at line 94 of file operationType.cc.

94 {return 1;}

◆ numArguments< OperationType::floor >()

Definition at line 91 of file operationType.cc.

91 {return 1;}

◆ numArguments< OperationType::frac >()

Definition at line 92 of file operationType.cc.

92 {return 1;}

◆ numArguments< OperationType::Gamma >()

Definition at line 93 of file operationType.cc.

93 {return 1;}

◆ numArguments< OperationType::gather >()

Definition at line 118 of file operationType.cc.

118 {return 2;}

◆ numArguments< OperationType::histogram >()

Definition at line 107 of file operationType.cc.

107 {return 1;}

◆ numArguments< OperationType::index >()

Definition at line 117 of file operationType.cc.

117 {return 1;}

◆ numArguments< OperationType::inf >()

Definition at line 52 of file operationType.cc.

52 {return 0;}

◆ numArguments< OperationType::infimum >()

Definition at line 97 of file operationType.cc.

97 {return 1;}

◆ numArguments< OperationType::infIndex >()

Definition at line 99 of file operationType.cc.

99 {return 1;}

◆ numArguments< OperationType::innerProduct >()

Definition at line 115 of file operationType.cc.

115 {return 2;}

◆ numArguments< OperationType::integrate >()

Definition at line 75 of file operationType.cc.

75 {return 2;}

◆ numArguments< OperationType::le >()

Definition at line 62 of file operationType.cc.

62 {return 2;}

◆ numArguments< OperationType::linearRegression >()

Definition at line 70 of file operationType.cc.

70 {return 2;}

◆ numArguments< OperationType::ln >()

Definition at line 80 of file operationType.cc.

80 {return 1;}

◆ numArguments< OperationType::log >()

Definition at line 58 of file operationType.cc.

58 {return 2;}

◆ numArguments< OperationType::lt >()

Definition at line 61 of file operationType.cc.

61 {return 2;}

◆ numArguments< OperationType::max >()

Definition at line 65 of file operationType.cc.

65 {return 2;}

◆ numArguments< OperationType::mean >()

Definition at line 103 of file operationType.cc.

103 {return 1;}

◆ numArguments< OperationType::median >()

Definition at line 104 of file operationType.cc.

104 {return 1;}

◆ numArguments< OperationType::meld >()

Definition at line 119 of file operationType.cc.

119 {return 2;}

◆ numArguments< OperationType::merge >()

Definition at line 120 of file operationType.cc.

120 {return 2;}

◆ numArguments< OperationType::min >()

Definition at line 64 of file operationType.cc.

64 {return 2;}

◆ numArguments< OperationType::moment >()

Definition at line 106 of file operationType.cc.

106 {return 1;}

◆ numArguments< OperationType::multiply >()

Definition at line 56 of file operationType.cc.

56 {return 2;}

◆ numArguments< OperationType::not_ >()

Definition at line 72 of file operationType.cc.

72 {return 1;}

◆ numArguments< OperationType::numOps >()

Definition at line 123 of file operationType.cc.

123 {return -1;} //no output port as well

◆ numArguments< OperationType::one >()

Definition at line 51 of file operationType.cc.

51 {return 0;}

◆ numArguments< OperationType::or_ >()

Definition at line 67 of file operationType.cc.

67 {return 2;}

◆ numArguments< OperationType::outerProduct >()

Definition at line 116 of file operationType.cc.

116 {return 2;}

◆ numArguments< OperationType::percent >()

Definition at line 53 of file operationType.cc.

53 {return 1;}

◆ numArguments< OperationType::pi >()

Definition at line 49 of file operationType.cc.

49 {return 0;}

◆ numArguments< OperationType::polygamma >()

Definition at line 60 of file operationType.cc.

60 {return 2;}

◆ numArguments< OperationType::pow >()

Definition at line 59 of file operationType.cc.

59 {return 2;}

◆ numArguments< OperationType::product >()

Definition at line 96 of file operationType.cc.

96 {return 1;}

◆ numArguments< OperationType::ravel >()

Definition at line 122 of file operationType.cc.

122 {return 1;}

◆ numArguments< OperationType::runningProduct >()

Definition at line 112 of file operationType.cc.

112 {return 1;}

◆ numArguments< OperationType::runningSum >()

Definition at line 111 of file operationType.cc.

111 {return 1;}

◆ numArguments< OperationType::shape >()

Definition at line 102 of file operationType.cc.

102 {return 1;}

◆ numArguments< OperationType::sin >()

Definition at line 81 of file operationType.cc.

81 {return 1;}

◆ numArguments< OperationType::sinh >()

Definition at line 87 of file operationType.cc.

87 {return 1;}

◆ numArguments< OperationType::size >()

Definition at line 101 of file operationType.cc.

101 {return 1;}

◆ numArguments< OperationType::slice >()

Definition at line 121 of file operationType.cc.

121 {return 1;}

◆ numArguments< OperationType::sqrt >()

Definition at line 78 of file operationType.cc.

78 {return 1;}

◆ numArguments< OperationType::stdDev >()

Definition at line 105 of file operationType.cc.

105 {return 1;}

◆ numArguments< OperationType::subtract >()

Definition at line 55 of file operationType.cc.

55 {return 2;}

◆ numArguments< OperationType::sum >()

Definition at line 95 of file operationType.cc.

95 {return 1;}

◆ numArguments< OperationType::supIndex >()

Definition at line 100 of file operationType.cc.

100 {return 1;}

◆ numArguments< OperationType::supremum >()

Definition at line 98 of file operationType.cc.

98 {return 1;}

◆ numArguments< OperationType::tan >()

Definition at line 83 of file operationType.cc.

83 {return 1;}

◆ numArguments< OperationType::tanh >()

Definition at line 89 of file operationType.cc.

89 {return 1;}

◆ numArguments< OperationType::time >()

Definition at line 73 of file operationType.cc.

73 {return 0;}

◆ numArguments< OperationType::userFunction >()

Definition at line 71 of file operationType.cc.

71 {return 2;}

◆ numArguments< OperationType::zero >()

Definition at line 50 of file operationType.cc.

50 {return 0;}