Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

memory-view-test-helper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memory-view-test-helper

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

MemoryViewTestHelper

Description

MemoryViewTestHelper provides features that help to test libraries that include MemoryView support.

MemoryViewTestHelper::NDArray provides simple multi-dimensional numeric array that can export MemoryView.

Install

$ gem install memory-view-test-helper

Usage

First you need to require memory-view-test-helper library.

require "memory-view-test-helper"

You can create a multi-dimensional numeric array by MemoryViewTestHelper.new.

x = MemoryViewTestHelper::NDArray.new([[1, 2, 3], [4, 5, 6]], dtype: :float64)

By this expression, x refers a 2x3 matrix of 64-bit floating point numbers.

License

The MIT license. See LICENSE.txt for details.

FAQs

Package last updated on 17 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc