MyClass¶
- class MyClass(value)¶
Class test Applying power function
- Parameters:
- valuearray-like or float
The considered value.
Notes
Objects of type
openturns.Sample
oropenturns.Point
are also accepted.Methods
power
(n)Method that returns value**n.
- __init__(value)¶
- power(n)¶
Method that returns value**n.
- Returns:
- yfloat
The cube value.