• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sandialabs / pyttb / 14321628148 / 2
98%
main: 98%

Build:
DEFAULT BRANCH: main
Ran 07 Apr 2025 11:36PM UTC
Files 30
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Apr 2025 11:35PM UTC coverage: 98.323% (+0.001%) from 98.322%
14321628148.2

push

github

web-flow
Updating documentation of `pyttb.tensor.from_function`. (#425)

* Updating documentation of `pyttb.tensor.from_function`.
Added an example showing how to create a tensor with normal random entries, for which there is no current shortcut like `tenones`.
Used that example to show how it's arguably best to pass in a vector rather than trying to worry about forcing Fortran ordering.
Also updated the example of create an all ones tensor.
The previous documentation relied on some function called `fortran_order_one`, and I'm not sure what that is.
Instead, I changed it to the `numpy.ones` function and to specify the fortran order via its interface.
I think these examples will be more helpful to users.

* Fixing ruff error.

---------

Co-authored-by: Danny Dunlavy <dmdunla@sandia.gov>

4926 of 5010 relevant lines covered (98.32%)

0.98 hits per line

Source Files on job 14321628148.2
  • Tree
  • List 30
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14321628148
  • bdc7e618 on github
  • Prev Job for on main (#14321429580.2)
  • Next Job for on main (#14321902462.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc