Veho 0.6.12

dotnet add package Veho --version 0.6.12
                    
NuGet\Install-Package Veho -Version 0.6.12
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Veho" Version="0.6.12" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Veho" Version="0.6.12" />
                    
Directory.Packages.props
<PackageReference Include="Veho" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Veho --version 0.6.12
                    
#r "nuget: Veho, 0.6.12"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Veho@0.6.12
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Veho&version=0.6.12
                    
Install as a Cake Addin
#tool nuget:?package=Veho&version=0.6.12
                    
Install as a Cake Tool

Banner

Extend enumerable and array functionalities

Version Downloads Dependent Libraries Language Compatibility License

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 502 11/29/2024
0.6.11 206 11/27/2024
0.6.10 394 11/27/2024
0.6.9 177 11/27/2024
0.6.8 175 11/27/2024
0.6.7 161 11/27/2024
0.6.6 597 11/26/2024
0.6.5 868 11/25/2024
0.6.4 510 11/25/2024
0.6.3 735 11/24/2024
0.6.2 183 11/24/2024
0.6.1 945 11/24/2024
0.6.0 318 11/24/2024
0.5.13 567 11/21/2024
0.5.12 627 11/4/2024
0.5.11 1,119 11/2/2024
0.5.10 11,697 10/10/2021
0.5.9 4,332 10/7/2021
0.5.8 506 10/5/2021
0.5.7 3,044 10/5/2021
0.5.6 1,122 10/5/2021
0.5.5 504 10/4/2021
0.5.4 1,594 10/3/2021
0.5.3 485 10/3/2021
0.5.2 486 10/3/2021
0.5.1 524 9/29/2021
0.5.0 575 9/28/2021
0.4.18 6,469 9/26/2021
0.4.17 994 9/26/2021
0.4.16 558 9/26/2021
0.4.15 1,449 9/26/2021
0.4.14 527 9/25/2021
0.4.13 7,490 9/3/2021
0.4.12 2,674 9/3/2021
0.4.11 547 9/2/2021
0.4.10 501 9/2/2021
0.4.9 3,156 9/2/2021
0.4.8 2,035 9/2/2021
0.4.7 2,713 9/2/2021
0.4.6 522 9/2/2021
0.4.5 546 9/2/2021
0.4.4 1,969 8/31/2021
0.4.3 1,394 8/31/2021
0.4.2 1,918 8/31/2021
0.4.0 1,466 8/31/2021
0.3.6 2,910 8/30/2021
0.3.5 3,397 8/29/2021
0.3.4 526 8/29/2021
0.3.3 507 8/26/2021
0.3.2 536 8/20/2021
0.3.1 3,530 8/20/2021
0.3.0 2,666 8/17/2021
0.2.18 4,367 8/16/2021
0.2.16 1,822 8/16/2021
0.2.15 533 8/16/2021
0.2.14 1,023 8/16/2021
0.2.13 523 8/15/2021
0.2.12 568 8/15/2021
0.2.11 537 8/15/2021
0.2.10 4,587 8/12/2021
0.2.9 558 8/12/2021
0.2.8 590 8/12/2021
0.2.7 582 8/12/2021
0.2.6 535 8/12/2021
0.2.4 1,524 8/12/2021
0.2.3 753 8/12/2021
0.2.2 552 8/12/2021
0.2.1 556 8/12/2021
0.2.0 544 8/12/2021
0.1.18 2,568 3/7/2021
0.1.17 1,390 3/7/2021
0.1.16 575 3/7/2021
0.1.15 660 3/7/2021
0.1.14 595 3/7/2021
0.1.12 618 3/6/2021
0.1.11 595 3/6/2021
0.1.10 855 3/5/2021
0.1.9 1,080 3/1/2021
0.1.8 587 2/28/2021
0.1.7 573 2/27/2021
0.1.6 562 2/27/2021
0.1.5 565 2/27/2021
0.1.4 530 2/18/2021
0.1.3 589 2/7/2021
0.1.1 10,924 1/30/2021
0.1.0 559 1/30/2021
0.0.29 2,360 1/29/2021
0.0.26 570 1/29/2021
0.0.25 2,037 1/29/2021
0.0.24 547 1/29/2021
0.0.23 567 1/29/2021
0.0.22 1,829 1/28/2021
0.0.21 565 1/28/2021
0.0.19 531 1/28/2021
0.0.18 585 1/26/2021
0.0.17 2,046 1/25/2021
0.0.16 572 1/25/2021
0.0.15 839 1/25/2021
0.0.14 604 1/25/2021
0.0.13 554 1/25/2021
0.0.12 563 1/24/2021
0.0.11 620 1/24/2021
0.0.10 584 1/24/2021
0.0.9 593 1/23/2021
0.0.8 742 1/22/2021
0.0.7 610 1/19/2021
0.0.6 597 1/19/2021
0.0.5 613 1/19/2021
0.0.4 608 1/19/2021
0.0.1-alpha 486 11/2/2020