Veho 0.6.12
dotnet add package Veho --version 0.6.12
NuGet\Install-Package Veho -Version 0.6.12
<PackageReference Include="Veho" Version="0.6.12" />
<PackageVersion Include="Veho" Version="0.6.12" />
<PackageReference Include="Veho" />
paket add Veho --version 0.6.12
#r "nuget: Veho, 0.6.12"
#:package Veho@0.6.12
#addin nuget:?package=Veho&version=0.6.12
#tool nuget:?package=Veho&version=0.6.12
Extend enumerable and array functionalities
Features
Veho is an extension lib for iterable e.g. array, 2d-array and dictionary.
Content
| Package | Content |
|---|---|
Veho |
The core library, including all Veho sub projects |
Veho.Dictionary |
Extend IDictionary<TK, TV> |
Veho.Entries |
Extend IReadOnlyList<(TK key, TV value)> |
Veho.Enumerable |
Extend IEnumerable<T> |
Veho.Linear |
Perform basic linear algebra for matrix |
Veho.Matrix |
Extend T[,] |
Veho.Mutable.Matrix |
Extend IReadOnlyList<IReadOnlyList<T>> |
Veho.OneBase |
Extend 1-based (offset) array T[,] |
Veho.PanBase |
Extend general (offset) array T[,] |
Veho.Sequence |
Extend IReadOnlyList<T> to List<T> |
Veho.Tuple |
Extend (T, T), (T, T, T), (T, T, T, T) |
Veho.Types |
Base types in Veho series |
Veho.Vector |
Extend T[] |
Install
Veho targets .NET Standard 2.0, fits both .NET and .NET Framework.
Install Veho package and sub packages.
NuGet Package Manager:
Install-Package Veho
.NET CLI:
dotnet add package Veho
All versions can be found on nuget.
Usage
Zip two arrays into an new array
using Veho.Vector
var vecA = new[] {1, 2, 3, 4, 5};
var vecB = new[] {2, 2, 0, 3, 3};
Func<int, int, int> func = (x, y) => x * y;
var vecC = func.Zipper(vecA, vecB);
Console.WriteLine(string.Join(", ", vecC));
Compute max by reducing an array
using Veho.Vector;
var vec = Vec.From(1, 4, 6, 3, 2);
var max = vec.Reduce(Math.Max);
Console.WriteLine(max);
Push a value into an array
using Veho.Vector;
using Spare;
var arr = Vec.From("a", "b", "c");
arr.Push("d")
Console.WriteLine(arr.Deco())
Examples
Veho has a test suite in the test project.
Feedback
Veho is licensed under the MIT license.
Bug report and contribution are welcome at the GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Veho.Dictionary (>= 0.6.12)
- Veho.Entries (>= 0.6.12)
- Veho.Enumerable (>= 0.6.12)
- Veho.Matrix (>= 0.6.12)
- Veho.Mutable.Matrix (>= 0.6.12)
- Veho.OneBase (>= 0.6.12)
- Veho.PanBase (>= 0.6.12)
- Veho.Sequence (>= 0.6.12)
- Veho.Tuple (>= 0.6.12)
- Veho.Types (>= 0.6.12)
- Veho.Vector (>= 0.6.11)
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Veho:
| Package | Downloads |
|---|---|
|
Spare.Padder
Format each element of enumerables with identical string width |
|
|
Spare.Deco
Format enumerables: array, 2d-array, dictionary, etc. into string for console output |
|
|
Palett.Munsell
Color conversion |
|
|
Palett.Deco
Deco for palett related objects |
|
|
NeXL.Core.Ranges
Extension for Excel.Range |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.12 | 525 | 11/29/2024 |
| 0.6.11 | 231 | 11/27/2024 |
| 0.6.10 | 414 | 11/27/2024 |
| 0.6.9 | 192 | 11/27/2024 |
| 0.6.8 | 193 | 11/27/2024 |
| 0.6.7 | 184 | 11/27/2024 |
| 0.6.6 | 615 | 11/26/2024 |
| 0.6.5 | 886 | 11/25/2024 |
| 0.6.4 | 530 | 11/25/2024 |
| 0.6.3 | 761 | 11/24/2024 |
| 0.6.2 | 202 | 11/24/2024 |
| 0.6.1 | 967 | 11/24/2024 |
| 0.6.0 | 335 | 11/24/2024 |
| 0.5.13 | 586 | 11/21/2024 |
| 0.5.12 | 650 | 11/4/2024 |
| 0.5.11 | 1,140 | 11/2/2024 |
| 0.5.10 | 11,719 | 10/10/2021 |
| 0.5.9 | 4,345 | 10/7/2021 |
| 0.5.8 | 520 | 10/5/2021 |
| 0.5.7 | 3,064 | 10/5/2021 |