{"id":18695929,"url":"https://github.com/gridap/tensorvalues.jl","last_synced_at":"2026-03-19T05:56:36.323Z","repository":{"id":61799837,"uuid":"186560722","full_name":"gridap/TensorValues.jl","owner":"gridap","description":"++REPO NOT MAINTAINED++ Tensor values that behave like numbers in broadcasted operations","archived":false,"fork":false,"pushed_at":"2020-02-08T17:17:45.000Z","size":64,"stargazers_count":2,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T22:51:14.697Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gridap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-14T06:40:41.000Z","updated_at":"2021-12-14T05:06:00.000Z","dependencies_parsed_at":"2022-10-21T11:45:16.084Z","dependency_job_id":null,"html_url":"https://github.com/gridap/TensorValues.jl","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridap%2FTensorValues.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridap%2FTensorValues.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridap%2FTensorValues.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridap%2FTensorValues.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gridap","download_url":"https://codeload.github.com/gridap/TensorValues.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239558910,"owners_count":19658927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T11:16:39.374Z","updated_at":"2025-11-08T14:30:28.462Z","avatar_url":"https://github.com/gridap.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TensorValues\n\n[![Build Status](https://travis-ci.com/gridap/TensorValues.jl.svg?branch=master)](https://travis-ci.com/gridap/TensorValues.jl)\n[![Codecov](https://codecov.io/gh/gridap/TensorValues.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/gridap/TensorValues.jl)\n\nIf you ❤️ this project, give us a ⭐️!\n\n**TensorValues** provides the types `VectorValue` (a 1-st order tensor), `TensorValue` (a 2-nd order tensor) and `MultiValue` (a generalization of `VectorValue` and `TensorValue`) and common tensor operations defined on these types (e.g., dot product, inner product, outer product, etc.)\n\n## Why\n\nThe main feature of the **TensorValues** package is that the provided types do not extend from `AbstractArray`, but from `Number`!\n\nThis allows one to work with them as if they were scalar values in broadcasted operations on arrays of `VectorValue` objects (also for `TensorValue` or `MultiValue` objects). For instance, one can perform the following manipulations:\n```julia\n# Assing a VectorValue to all the entries of an Array of VectorValues\nA = zeros(VectorValue{2,Int}, (4,5))\nv = VectorValue(12,31)\nA .= v # This is posible since  VectorValue \u003c: Number\n\n# Broatcasing of tensor operations in arrays of TensorValues\nt = TensorValue(13,41,53,17) # creates a 2x2 TensorValue\ng = TensorValue(32,41,3,14) # creates another 2x2 TensorValue\nB = fill(t,(1,5))\nC = inner.(g,B) # inner product of g against all TensorValues in the array B\n@show C\n# C = [2494 2494 2494 2494 2494]\n```\n\n## Installation\n```julia\nPkg.add(\"TensorValues\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgridap%2Ftensorvalues.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgridap%2Ftensorvalues.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgridap%2Ftensorvalues.jl/lists"}