Definition of table with zeros arrays

Asked by Przemek on 2020-01-22

Hello,

is a possibility in Yade to define the table or matrix where the rows would be an arrays with zeros values? In Python I'm using numeric library - numpy - and here I don't know how to do it.

BR
Przemek

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Przemek
Solved:
2020-01-22
Last query:
2020-01-22
Last reply:
2020-01-22
Robert Caulk (rcaulk) said : #1

Hello,

Yade is wrapped in python. Therefore, you can use numpy as usual inside your yade scripts :-).

Cheers,

Robert

Przemek (przemekn) said : #2

Thanks Robert!