PHP Linus Pauling Diagram: Compute an atomic number Linus Pauling diagram

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2021-05-16 (4 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 32 All time: 10,261 This week: 208Up
Version License PHP version Categories
linus-pauling-ed 1.0GNU General Publi...5PHP 5, Physics
Description Author

This class can compute an atomic number Linus Pauling diagram.

It can take as parameter a given atomic number.

The class returns a string with the Linus Pauling distribution.

Innovation Award
PHP Programming Innovation award nominee
May 2021
Number 5
Linus Pauling diagrams are useful used by chemists to analyze the characteristics and properties of atoms.

This class provides a PHP implementation of an algorithm to generate Linus Pauling diagram string sequences.

Manuel Lemos
Picture of Carlos Artur Curvelo da Matos
  Performance   Level  
Name: Carlos Artur Curvelo da ... is available for providing paid consulting. Contact Carlos Artur Curvelo da ... .
Classes: 17 packages by
Country: Portugal Portugal
Age: 43
All time rank: 323441 in Portugal Portugal
Week rank: 201 Up3 in Portugal Portugal Up
Innovation award
Innovation award
Nominee: 11x

Winner: 2x

Details

Linus Pauling PHP Diagram

Returns the Linus Pauling electronic distribution for a given atomic number.

Usage

Just use the static method, providing a single integer as argument, which corresponds to the atomic number of the element, to find the LP distribution. Example:

use Linus\Pauling\ED;

require __DIR__ . '/vendor/autoload.php';

$element = Linus\Pauling\ED::distribute(34);

echo $element;

/*
RETURNS: 1s2 2s2 2p6 3s2 3p6 4s2 3d10 4p4
*/
  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file ED.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:32
This week:0
All time:10,261
This week:208Up
For more information send a message to info at phpclasses dot org.