Changes between Initial Version and Version 3 of Ticket #30229


Ignore:
Timestamp:
07/27/20 15:01:45 (17 months ago)
Author:
slelievre
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30229

    • Property Cc slelievre added
    • Property Summary changed from ExtPowerFreeModule and TensorFreeModule cannot create a basis to ExtPowerFreeModule, ExtPowerDualFreeModule, TensorFreeModule cannot create a basis
  • Ticket #30229 – Description

    initial v3  
     1Setup:
    12{{{
    2             sage: from sage.tensor.modules.ext_pow_free_module import ExtPowerFreeModule
    3             sage: M = FiniteRankFreeModule(ZZ, 3, name='M')
    4             sage: e = M.basis('e')
    5             sage: A = ExtPowerFreeModule(M, 2) ; A
    6             sage: A.basis('w')
    7             TypeError: __init__() missing 1 required positional argument: 'degree'
     3sage: from sage.tensor.modules.ext_pow_free_module import ExtPowerFreeModule
     4sage: from sage.tensor.modules.tensor_free_module import TensorFreeModule
     5sage: M = FiniteRankFreeModule(ZZ, 3, name='M')
     6sage: e = M.basis('e')
     7}}}
    88
    9         sage: M = FiniteRankFreeModule(ZZ, 3, name='M')
    10         sage: e = M.basis('e')
    11         sage: from sage.tensor.modules.tensor_free_module import TensorFreeModule
    12         sage: T = TensorFreeModule(M, (1,2)) ; T
    13         sage: T.basis('q')
    14         TypeError: __init__() missing 1 required positional argument: 'tensor_type'
     9Problems:
     10{{{
     11sage: A = ExtPowerFreeModule(M, 2) ; A
     12sage: A.basis('w')
     13TypeError: __init__() missing 1 required positional argument: 'degree'
    1514}}}
     15{{{
     16sage: T = TensorFreeModule(M, (1,2)) ; T
     17sage: T.basis('q')
     18TypeError: __init__() missing 1 required positional argument: 'tensor_type'
     19}}}