This repository was archived by the owner on Jan 30, 2023. It is now read-only.
File tree 1 file changed +15
-7
lines changed
1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -1231,13 +1231,6 @@ cdef class Expression(CommutativeRingElement):
1231
1231
1232
1232
sage: latex( 1+ x^ ( 2/3) + x^ ( -2/3))
1233
1233
x^ {\f rac{2}{3} } + \f rac{1} {x^ {\f rac{2}{3} }} + 1
1234
-
1235
- Check that pynac understands rational powers ( :trac:`30446`) ::
1236
-
1237
- sage: QQ(( 24* sqrt( 3)) ^ ( 100/50)) ==1728
1238
- True
1239
- sage: float(( 24* sqrt( 3)) ^ ( 100/51))
1240
- 1493. 0092154...
1241
1234
"""
1242
1235
return self ._parent._latex_element_(self )
1243
1236
@@ -4131,6 +4124,21 @@ cdef class Expression(CommutativeRingElement):
4131
4124
sage: elem = SR( 2) ^ n
4132
4125
sage: ( elem, elem. parent( ))
4133
4126
( 2^ n, Asymptotic Ring <SR^ n * n^ SR> over Symbolic Ring)
4127
+
4128
+ Check that pynac understands rational powers ( :trac:`30446`,
4129
+ :trac:`28620`, :trac:`30304`, and :trac:`30786`) ::
4130
+
4131
+ sage: QQ(( 24* sqrt( 3)) ^ ( 100/50)) ==1728
4132
+ True
4133
+ sage: float(( 24* sqrt( 3)) ^ ( 100/51))
4134
+ 1493. 0092154...
4135
+ sage: t=(( 1/10) * I/pi) ^ ( 3/2)
4136
+ sage: t^ 2
4137
+ -1/1000* I/pi^ 3
4138
+ sage: ( 2* pi) ^ QQ( 2)
4139
+ 4* pi^ 2
4140
+ sage: exp( -3* ln( -9* x) /3)
4141
+ -1/9/x
4134
4142
"""
4135
4143
cdef Expression nexp = < Expression> other
4136
4144
cdef GEx x
You can’t perform that action at this time.
0 commit comments